package com.sky.mapper;

import com.sky.entity.DishFlavor;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DishFlovrMapper {

  //  @AutoFill(OperationType.INSERT)
     void insertDish(List<DishFlavor> dishFlavorList);

  void delete(List<Long> dishIds);

  List<DishFlavor> slecetById(Long id);

  void deleteByDishId(Long dishId);

    void insertDish1(List<DishFlavor> flavors);
}
